-- GENERATED SPELL FOR [Wildpaw Gnoll] --


function spell0_10991(pUnit, Event) --@Thrash,Self--
pUnit:FullCastSpellOnTarget(3391,pUnit)
pUnit:RegisterEvent('Sorts_10991', 556, 1)
end

function Sorts_10991(pUnit, Event)
local choix_sorts_10991 = math.random(0, 0)
if choix_sorts_10991 == 0 then
pUnit:RegisterEvent('spell0_10991', 1, 1)
end
end

function mob10991_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_10991', math.random(1500, 3000), 1)
end

function mob10991_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10991_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10991_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(10991, 1, 'mob10991_Action')
RegisterUnitEvent(10991, 2, 'mob10991_Leave')
RegisterUnitEvent(10991, 3, 'mob10991_Kill')
RegisterUnitEvent(10991, 4, 'mob10991_Die')
